package com.example.lbstest.mapper;

import com.example.lbstest.pojo.Card;
import com.example.lbstest.pojo.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface NoticeMapper {
   int insertOneNotice(Notice notice);
   List<Notice> selectNoticeListByUser(String number);
   List<Notice> selectNoticeListByUserAndType(String number,String label,String class_number);
   List<Notice> selectNoticeListByUserAndLeave(String number,String label);
   int updateNoticeStatus(String id);
}
